#include<iostream>
using namespace std;

int main()
{
	char a, b, c, d;
	cin >> a >> b >> c >> d;
	cout << a << " " << b << " " << c << " " << d << endl;
	return 0;
}